//
//  ZHCommonTools.swift
//  ZHWeibo
//
//  Created by user on 15/12/9.
//  Copyright © 2015年 heima. All rights reserved.
//

import UIKit 


// 自定义的log
// 在 BuildSettting 中 搜索 other swift flags 添加一个 `-D DEBUG`
func printLog(message: AnyObject,
    file: String = __FILE__,
    line: Int = __LINE__,
    methodFunc: String = __FUNCTION__
    ) {
        #if DEBUG
        print("\((file as NSString).lastPathComponent)[\(line)], \(methodFunc): \(message)")
        #endif
}

let ScreenWith = UIScreen.mainScreen().bounds.size.width
let ScreenHeight = UIScreen.mainScreen().bounds.size.width

let margin:CGFloat = 10.0